<template>
    <div class="cmt-container">
        <h3>发表评论</h3>
        <hr>
        <textarea placeholder="请输入要评论的内容...（最多BB120字！）" maxlength="120" ></textarea>
        <mt-button type="primary" size="large">评论</mt-button>

        <div class="cmt-list">
            <div class="cmt-item">
                <div class="cmt-title">
                    第一楼&nbsp;&nbsp;用户：匿名用户&nbsp;&nbsp;发表时间：2019-07-02 12:02:03
                </div>
                <div class="cmt-body">
                    happy！happy！
                </div>
            </div>
             <div class="cmt-item">
                <div class="cmt-title">
                    第一楼&nbsp;&nbsp;用户：匿名用户&nbsp;&nbsp;发表时间：2019-07-02 12:02:03
                </div>
                <div class="cmt-body">
                    happy！happy！
                </div>
            </div>
             <div class="cmt-item">
                <div class="cmt-title">
                    第一楼&nbsp;&nbsp;用户：匿名用户&nbsp;&nbsp;发表时间：2019-07-02 12:02:03
                </div>
                <div class="cmt-body">
                    happy！happy！
                </div>
            </div>
        </div>

        <mt-button type="danger" size="large" plain>加载更多</mt-button>
    </div>
</template>
<script>
export default {
    
}
</script>
<style lang="scss">
.cmt-container{
    h3{
        font-size: 18px
    }
    textarea{
        margin: 0;
        padding: 0;
        font-size: 13px;
        height: 60px;
    }
    .cmt-list{
        margin-top: 5px;
        .cmt-item{
            font-size: 13px;
            .cmt-title{
                height: 35px;
                line-height: 35px;
                text-align: center;
                background-color: gray;
            }
            .cmt-body{
                text-indent: 3em;
                height: 40px;
                line-height: 40px;
            }
        }
    }
}
</style>


